package com.joysuch.wwyt.mh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.joysuch.wwyt.mh.entity.MhAlarmRecord;

import java.util.List;

/**
 * @author Leong
 * @date 2022/9/19 16:19
 */
public interface MhAlarmRecordService extends IService<MhAlarmRecord> {
    MhAlarmRecord findValidRecord(Long monitoringPointId, Integer state);

    List<MhAlarmRecord> findValidNoCode(Integer exceedTimes);

    List<MhAlarmRecord> findValidRecords(List<Long> pointIds, Integer value);
}
